#ifndef USER
#define USER

#include"common/list.h"
#include"common.h"

typedef struct User{
    char name[USER_NAME_LEN+1];
    list_node friends;
}User;

extern User* create_user(const char *name);

extern int make_friend(User* this, char* friend_name);

extern int find_friend(User* this, char* friend_name);

extern User* destory_user(User* this);

#endif
